<?
$data = $_GET['data'];
$log = fopen("log2.txt", "a");
fwrite($log, $_SERVER['REMOTE_ADDR']);
fwrite($log, "  ");
fwrite($log, "$data");
fwrite($log, "\n");
fclose($log);

?>